package com.ruoyi.labour.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.labour.domain.vo.PageVo;
import com.ruoyi.labour.domain.vo.UpdateSlideshowVo;
import com.ruoyi.labour.domain.vo.UploadSlideshowVo;

/**
 * @ClassName: SlideshowService
 * @Description:
 * @Author: Awen
 * @Date: 2023/5/13 14:58
 */
public interface SlideshowService {

    /**
     * 添加轮播图
     * @param uploadSlideshowVo
     * @return
     */
    R addSlideshow(UploadSlideshowVo uploadSlideshowVo);

    /**
     * 查询轮播图文件信息
     * @param pageVo
     * @return
     */
    R selectSlideshow(PageVo pageVo);

    /**
     * 修改轮播图状态
     * @param updateSlideshowVo
     * @return
     */
    R updateSlideshow(UpdateSlideshowVo updateSlideshowVo);

    /**
     * 删除轮播图
     * @param id
     * @return
     */
    R deleteSlideshow(int id);
}
